<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ page session="false"%>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Athenaeum : Profile</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<jsp:include page="../assets/header.jsp" />

</head>
<body>
	<jsp:include page="../assets/navbar-top.jsp" />
	<div class="page-wrap">
		<div class="container-fluid">
			<div class="row row-wrap">
				<div class="col-md-2"></div>
				<div class="col-md-8">
					<div class="panel panel-default">
						<div class="panel-heading">
							<h3 class="panel-title">New Training Details</h3>
						</div>
						<div class="panel-body">
							<div class="col-md-6">
								<form:form modelAttribute="trainingRecord" action="save"
									method="post" role="form">
									<form:hidden path="id" />
									<div class="form-group">
										<label for="title">Title</label>
										<form:input type="text" class="form-control" id="title"
											path="title" placeholder="Title" />
										<form:errors path="title" cssClass="error" />
									</div>
									<div class="form-group">
										<label for="description">Description</label>
										<form:input type="text" class="form-control" id="description"
											path="description" placeholder="Description" />
									</div>
									<div class="form-group">
										<label for="startDate">Start Date</label>
										<form:input type="date" class="form-control" id="startDate"
											path="startDate" placeholder="Start Date" />
										<form:errors path="startDate" cssClass="error" />
									</div>
									<div class="form-group">
										<label for="endDate">End Date</label>
										<form:input type="date" class="form-control" id="endDate"
											path="endDate" placeholder="End Date" />
										<form:errors path="endDate" cssClass="error" />
									</div>
									<div class="form-group">
										<label for="comments">Notes</label>
										<form:textarea class="form-control" rows="3" id="comments"
											path="comments" />
									</div>
									<button type="submit" class="btn btn-primary">Submit</button>
								</form:form>
							</div>
							<div class="col-md-6"></div>
						</div>
					</div>
				</div>
				<div class="col-md-2"></div>
			</div>
		</div>
	</div>
	<jsp:include page="../assets/footer.jsp" />
</body>
</html>

